//进度条
var formatProgressBar=function (_v, cellmeta, record){
	var returnValue = '';
	switch(record.data.status){
		case 1:
			if(Ext.isIE){
				returnValue = 
					'<div class="x-progress-wrap" style="height: 14px">' +
						'<div class="x-progress-inner">' +
							'<div style="width: 100%;" class="x-progress-bar x-progress-text">' + '100 %'
							'</div>' +
						'</div>' +
					'</div>';
			}else{
				returnValue = 
					'<div class="x-progress-wrap" style="height: 15px">' +
						'<div class="x-progress-inner">' +
							'<div id="progressBar_' + record.data.flowId + '" style="width: 100%;" class="x-progress-bar">' +
							'</div>' +
							'<div id="progressText_' + record.data.flowId + '" style="width: 100%;" class="x-progress-text x-progress-text-back" />100 %</div>'
						'</div>' +
					'</div>';
			}
			break;
		default : 
			returnValue = 
				'<div class="x-progress-wrap" style="height: 15px">' +
					'<div class="x-progress-inner">' +
						'<div id="progressBar_' + record.data.flowId + '" style="width: 0%;" class="x-progress-bar">' +
						'</div>' +
						'<div id="progressText_' + record.data.flowId + '" style="width: 100%;" class="x-progress-text x-progress-text-back" />0 %</div>'
					'</div>' +
				'</div>';
			break;
	}
	return returnValue;
};

